package com.feshfans.controller.eventhandler;

import com.feshfans.controller.eventhandler.AbstractEventHandler;
import javafx.stage.Stage;
import org.jxmpp.jid.BareJid;

import java.util.Map;

public class MultiContollerEventHandler extends AbstractEventHandler<Map<BareJid,Stage>, BareJid> {


    public MultiContollerEventHandler(Map<BareJid, Stage> bareJidStageMap, BareJid bareJid) {
        super(bareJidStageMap, bareJid);
    }

    @Override
    public void remove() {
        this.m.remove(n);
    }

    @Override
    public Stage getStage() {
        return this.m.get(n);
    }
}
